package com.gxa.mapper;

import com.gxa.entity.SysAccount;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AccountManagementMapper {

    int addAccount(SysAccount sysAccount);

    List findAccountList();

    List findAccountByName(String name);

    int updateAccount(@Param("sysAccount") SysAccount sysAccount);

    int deleteAccount(Integer id);
}
